<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
	<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
		<?php foreach ($this->formWizard->getNames() as $action => $name):?>
		<li class="ui-state-default ui-corner-top <?php print $this->formWizard->isCurrentAction($action) ? 'ui-tabs-selected ui-state-active' : ''?>">
			<a href="<?php print $this->url(array('action' => $action));?>">
				<?php print $name?></a></li>
		<?php endforeach;?>
	</ul>

	<div class="ui-widget-content ui-corner-all">
		<form method="post" action="">
			<?php 
	
				$categoryTable = new Shop_Model_DbTable_Category();

				$rowset = $categoryTable->fetchAll();

				$options = array(
					'name' => 'category',
					'UlClass' => 'category-tree-list',
					'checkedValues' => @$_POST['category']
				);

				print $this->treeCheckbox($rowset, $options);
	
			?>
			<input type="submit" value="Przypisz produkt do kategorii"/>
		</form>
	</div>
</div>